<?php
namespace App;

use Illuminate\Database\Eloquent\Model;

class ProductsType extends Model 
{
	protected $table = 'mall_products_type';

	public function products()
    {
         return $this->belongsToMany('App\products', 'mall_products_type_relate', 'products_type_id', 'products_id');
    }
}